AR = ar

SRCS = \
	log.c \
	add.c

INC_DIR = -I../include
OBJS  := $(SRCS:%.c=%.o)
TARGET := liblog.a

CFLAGS += $(INC_DIR)
CFLAGS += -fPIC

all: $(TARGET)

$(TARGET):$(OBJS)
	$(AR) cr $@ $^
	
.PRONY:clean  
clean:  
	rm -f $(OBJS) $(TARGET)